<?php

$api = app('Dingo\Api\Routing\Router');
$api->version('v1', function ($api) {

    $api->group(['namespace' => 'App\Http\Controllers\Pingtai'], function ($api) {

        //登录
        $api->match(['post', 'get'], 'pingtai/login', 'PuserController@login');
            
        $api->group(['middleware' => ['jwt.auth','jwt.refresh']], function ($api) {
            


            
        });
        
    });

    
});